﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Projet_Final_ASP
{
    public partial class Confirmation : System.Web.UI.Page
    {
        private int secs = 0;
        protected void Page_Load(object sender, EventArgs e)
        {
           
            Timer1.Enabled = true;
            
        }

        protected void Timer1_Tick(object sender, EventArgs e)
        {
            if (secs < 5)
                secs++;
            else if (secs == 5)
                Response.Redirect("Accueil.aspx");

        }
    }
}